package com.qf.service;

import com.qf.pojo.Device;
import com.qf.utils.ResultMsg;

import java.util.List;

public interface DeviceService {
    ResultMsg selectAll(int page,int limit);

    ResultMsg selectOne(int deviceId);

    ResultMsg update(Device device);

    ResultMsg insert(Device device);

    ResultMsg deleteOne(int deviceId);

    ResultMsg deleteMul(List<Integer> deviceIds);

    ResultMsg selectDim(int page, int limit, String deviceName, Integer deviceStatus);

    ResultMsg updateStatus(Integer deviceId, String deviceStatus);

    ResultMsg updateStatusMul(List<Integer> deviceIds, Integer deviceStatus);
}
